package com.sc.nft.admin.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
public class UpdatePasswordRequest {

    @ApiModelProperty("旧密码")
    @NotBlank(message = "请输入旧密码")
    private String oldPassword;


    @ApiModelProperty("新密码")
    @NotBlank(message = "请输入新密码")
    private String password;


}
